package com.sxbbc.common.core.utils;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * @author leehao
 * @description 基础分页类
 * @date 2019-04-27 11:59
 */
@SuppressWarnings("all")
public class BasePage<T> extends Page<T> {

    /**
     * 是否分页，默认分页
     */
    private boolean paging = true;

    @Override
    public long getPages() {
        return super.getPages() ;
    }

    public boolean isPaging() {
        return paging;
    }

    public void setPaging(boolean paging) {
        this.paging = paging;
    }

}
